package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笔记图片对象 t_note_image
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class TNoteImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 笔记图片ID */
    private Long noteImageId;

    /** 笔记ID */
    @Excel(name = "笔记ID")
    private Long noteId;

    /** 图片名 */
    @Excel(name = "图片名")
    private String imageName;

    /** 图片后缀 */
    @Excel(name = "图片后缀")
    private String imageSuffix;

    /** 删除标识,未删除为0，已删除为1 */
    @Excel(name = "删除标识,未删除为0，已删除为1")
    private Long deleteFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    public void setNoteImageId(Long noteImageId) 
    {
        this.noteImageId = noteImageId;
    }

    public Long getNoteImageId() 
    {
        return noteImageId;
    }

    public void setNoteId(Long noteId) 
    {
        this.noteId = noteId;
    }

    public Long getNoteId() 
    {
        return noteId;
    }

    public void setImageName(String imageName) 
    {
        this.imageName = imageName;
    }

    public String getImageName() 
    {
        return imageName;
    }

    public void setImageSuffix(String imageSuffix) 
    {
        this.imageSuffix = imageSuffix;
    }

    public String getImageSuffix() 
    {
        return imageSuffix;
    }

    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noteImageId", getNoteImageId())
            .append("noteId", getNoteId())
            .append("imageName", getImageName())
            .append("imageSuffix", getImageSuffix())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("version", getVersion())
            .toString();
    }
}
